<template>
  <view class="page page-grey page-aftersale-evidence">
    <view class="aftersale-evidence-item" v-for="i in 3" :key="i">
      <view class="evidence-item-step"></view>
      <view class="evidence-item-content">
        <view class="evidence-item-datetime"><fui-text :text="utils.dateFormatter(182892992993, 'y-m-d h:i:s', 2, true)" size="32" fontWeight="bold" color="#333"></fui-text></view>
        <view class="evidence-item-info">
          <view class="evidence-item-desc">
            <fui-text text="买家凭证买家凭证买家凭证买家凭证买家凭证买家凭证买家凭证" size="24" fontWeight="bold" color="#333"></fui-text>
          </view>
          <view class="evidence-item-images">
            <image class="evidence-item-image" v-for="i in 5" :key="i" src="/static/images/shopimg.png"></image>
          </view>
        </view>
      </view>
    </view>
  </view>
</template>

<script setup>
import { ref, computed, inject } from 'vue'
import { onShow } from "@dcloudio/uni-app"
import { useStore } from 'vuex'
import utils from '@/components/firstui/fui-utils'

const tab = inject('$tab')
const modal = inject('$modal')
const store = useStore()
</script>

<style lang="scss" scoped>
.page-aftersale-evidence {
  padding: 36rpx;
  .aftersale-evidence-item {
    display: flex;
    justify-content: space-between;
    &:last-child {
      .evidence-item-step:after {
        display: none;
      }
    }
    .evidence-item-step {
      position: relative;
      flex: 0 0 64rpx;
      &::before {
        position: absolute;
        content: '';
        width: 30rpx;
        height: 30rpx;
        border-radius: 50%;
        background-color: var(--fui-color-primary);
        margin: 6rpx;
      }
      &::after {
        position: absolute;
        top: 42rpx;
        bottom: 0;
        left: 20rpx;
        content: '';
        width: 2rpx;
        background-color: var(--fui-color-primary);
      }
    }
    .evidence-item-content {
      margin-bottom: 32rpx;
      .evidence-item-datetime {
        margin-bottom: 20rpx;
      }
      .evidence-item-info {
        border-radius: 12rpx;
        background-color: #fff;
        padding: 16rpx 24rpx 24rpx;
        .evidence-item-desc {
          margin-bottom: 20rpx;
        }
        .evidence-item-images {
          margin: -10rpx;
          line-height: 0;
          .evidence-item-image {
            width: calc(33.3333% - 20rpx);
            height: 160rpx;
            border-radius: 8rpx;
            margin: 10rpx;
          }
        }
      }
    }
  }
}
</style>